Enterprise Objects Framework Release 1.1 Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

EOControlAssociation 

Inherits From:	EOAssociation : NSObject

Conforms To:	EOAssociationNotification (EOAssociation)

Declared In:	eointerface/EOControlAssociation.h

Class Description

EOControlAssociation is the default association for all subclasses of Control except Button, Form, Matrix, NXBrowser, and NXImageView. It sets its control's value with setStringValue: and gets its control's value by invoking stringValue. A control association thus work wells with any ªsimpleº control that displays only a single value, such as a TextField or Slider.

A control association sets itself up as the target of its destination control, and, if that control responds to the setTextDelegate: message, as the control's text delegate. This allows a control association to notify its controller of an edit whenever its control sends an action message and whenever its control ends editing (for example, by the user pressing Tab or Return, or selecting another text field).

Although the interface of any association contains only a few methods, their implementations are often highly dependent on one another and on the way the destination objects act. Because of this, if you need to create an association class for a custom subclass of Control, you should create it as an immediate subclass of EOAssociation.

Instance Variables

None declared in this class.

Instance Methods

None declared in this class.